package com.taotao.netty.othertest;

import io.netty.util.NettyRuntime;
import io.netty.util.internal.SystemPropertyUtil;
import org.junit.Test;

/**
 * @Description: 其他测试
 * @Author: TaoJF
 * @Date: Created in 2018/7/8 下午8:31
 */
public class OtherTest {

    @Test
    public void test1() {
        int anInt = SystemPropertyUtil.getInt("io.netty.eventLoopThreads", NettyRuntime.availableProcessors() * 2);
        System.out.println(anInt); // 16
    }

}
